
function GM:SpawnMenuOpen()
	return false
end

function GM:ContextMenuOpen()
	return false
end

function GM:HUDDrawTargetID()
	local tr = util.GetPlayerTrace(LocalPlayer(),LocalPlayer():GetAimVector())
	local trace = util.TraceLine(tr)
	if (!trace.Hit) then return end
	if (!trace.HitNonWorld) then return end
	
	local text = "ERROR"
	local font = "TargetID"
	
	if (trace.Entity:IsPlayer()) then
		text = trace.Entity:Nick()
	else
		return
		//text = trace.Entity:GetClass()
	end
	
	surface.SetFont(font)
	local w,h = surface.GetTextSize(text)
	
	local x,y = ScrW()*.5,ScrH()*.5
	
	x = x - w / 2
	y = y + 30
	
	//The fonts internal drop shadow looks lousy with AA on
	draw.SimpleText(text,font,x+1,y+1,Color(0,0,0,120))
	draw.SimpleText(text,font,x+2,y+2,Color(0,0,0,50))
	draw.SimpleText(text,font,x,y,self:GetTeamColor(trace.Entity))
end

